package com.yanghx.order.server.controller;

import com.yanghx.order.server.feign.ProductFeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author yangHX
 * createTime  2019/9/12 21:39
 */
@RestController
public class IndexController {

    @Resource
    private ProductFeignClient feignTest;


    @GetMapping("/test")
    public String test() {
        String test = feignTest.test();
        System.out.println(test);

        return "sd";
    }
}
